@echo off
fastboot flash ram u-boot-with-spl.bin

fastboot reboot

ping 127.0.0.1 -n 10 >nul

fastboot flash uboot u-boot-with-spl.bin

fastboot flash boot boot.ext4
fastboot flash ramdisk ramdisk.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash userdata userdata.img
pause